Use nonstrict xfail
authorDebian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Tue, 9 Dec 2025 11:19:37 +0000 (11:19 +0000)
committerGraham Inggs <ginggs@debian.org>
Tue, 9 Dec 2025 11:19:37 +0000 (11:19 +0000)
Upstream strict-xfailed this instead of changing the expected message,
which doesn't work here because it only fails in build, not autopkgtest

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name blosc_nonstrict_xfail.patch

pandas/tests/io/pytables/test_file_handling.py

index 486210e274aeff4addd18003a6ec207936521c9a..853482979b600dbe9d1627ddbb091a9a930cdd2b 100644 (file)
@@ -292,7 +292,7 @@ def test_complibs(tmp_path, lvl, lib, request):
     # GH14478
     if PY311 and is_platform_linux() and lib == "blosc2" and lvl != 0:
         request.applymarker(
-            pytest.mark.xfail(reason=f"Fails for {lib} on Linux and PY > 3.11")
+            pytest.mark.xfail(reason=f"Fails for {lib} on Linux and PY > 3.11", strict=False)
         )
     df = DataFrame(
         np.ones((30, 4)), columns=list("ABCD"), index=np.arange(30).astype(np.str_)